﻿<u:UUserControl x:Class="UTable.Objects.Controls.UColorPicker"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:u="clr-namespace:UTable.Objects.Controls;assembly=UTable.Core"
    xmlns:up="clr-namespace:UTable.Objects.Controls.Primitives;assembly=UTable.Core"
    xmlns:uc="clr-namespace:UTable.Objects.Controls"
    Height="50" Width="50">
    <u:UGrid>
        <u:UButton HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" x:Name="PickButton" Pressed="PickButton_Pressed">
            <Rectangle Fill="Red" Margin="3, 8, 8, 8" RadiusX="10" RadiusY="10" />
        </u:UButton>
        <up:UPopup x:Name="Palette" Placement="Bottom">
            <uc:UPalette/>
        </up:UPopup>
    </u:UGrid>
</u:UUserControl>
